Infixs\CorreiosAutomatico\Services\ShippingService C

Total Complexity 108
Dependencies 14
Dependents 4
Total lines 755
Lines of code 500
Logical lines of code 241
Comment lines 123
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
clone_options()
C
27
26 143
import_shipping_methods_by_plugin_id()
B
37 17 67
createShippingMethod()
A
46 10 38
list_shipping_methods()
A
52 8 24
import_contract_config()
S
52 7 25
fetchViacepAddress()
S
52 6 25
hasCorreiosAutomaticoActiveMethods()
S
57 6 16
fetchAddress()
S
60 6 15
getStateByPostcode()
S
43 4 42
getAddressByPostcode()
S
61 3 13
get_compatible_methods()
S
55 2 22
createDefaultShippingZone()
S
62 2 12
getCityByPostcode()
S
75 2 4
postcodeMatchRange()
S
70 2 6
getAvailableZoneMethods()
S
60 1 14
getAvailableZoneCorreiosMethods()
S
70 1 6
__construct()
S
77 1 4
getCEINT()
S
72 1 5
hasMethodsToImport()
S
67 1 8
disable_shipping_method()
S
69 1 7
calculateShippingByMethod()
S
75 1 4